home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 2.0 / Internet Publisher's Toolbox.iso / internet / ntserver / wtsource / irdirent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-16  |  799 b   |  38 lines

  1. /* this is an include file for back compatibility to old c compilers */
  2.  
  3. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  4.  
  5.  
  6. #ifndef IRDIRENT_H
  7. #define IRDIRENT_H
  8.  
  9. #include "cdialect.h"
  10.  
  11. #ifdef K_AND_R
  12. #include <sys/dir.h>    
  13. #ifndef ultrix
  14. #ifndef __osf__
  15. #define dirent direct
  16. #endif /* ndef __osf__ */
  17. #endif /* ndef ultrix */
  18. #endif /* def K_AND_R */
  19.  
  20. #if (defined(NeXT) || defined(Mach))
  21. #include <sys/dir.h>    
  22. #define dirent direct
  23. #endif /* def NeXT or Mach */
  24.  
  25. #ifdef M_XENIX
  26. #include <sys/types.h>
  27. #include <dirent.h>
  28. #endif
  29.  
  30. #if !(defined(K_AND_R) || defined(NeXT) || defined(Mach) || \
  31.       defined(THINK_C) || defined(M_XENIX) || defined(WIN32))
  32. #include <dirent.h>
  33. #endif /* not M_XENIX, THINK_C, Mach, NeXT, or K_AND_R */
  34.  
  35. #endif /* IRDIRENT_H */
  36.  
  37.  
  38.